package org.cheniy.domain.award.service;

import org.cheniy.domain.award.model.entity.DistributeAwardEntity;
import org.cheniy.domain.award.model.entity.UserAwardRecordEntity;

/**
 * @author cheniy
 * @description 奖品服务接口
 * @create 2025/3/19 21:55
 */
public interface IAwardService {

    /**
     * 存放抽奖结果【写入抽奖中奖记录】
     * @param userAwardRecordEntity
     */
    void saveUserAwardRecord(UserAwardRecordEntity userAwardRecordEntity);

    /**
     * 配送发货奖品
     * 根据分发奖品的实现类作为的bean，选择需要的bean在进行分发
     *
     * @param distributeAwardEntity
     */
    void distributeAward(DistributeAwardEntity distributeAwardEntity);

}
